import request from '@/utils/request'

// 上传
export function test_upload(data) {
  return request({
    url: '/upload',
    method: 'post',
    data,
  })
}

// 配置项
export function text_align(data) {
  return request({
    url: '/aligner',
    method: 'post',
    data,
  })
}

// 取消
export function text_cancel(data) {
  return request({
    url: '/cancel',
    method: 'post',
    data,
  })
}

// 下载
export function test_download(data) {
  return request({
    url: '//download/6/4',
    method: 'get',
    data,
  })
}

// table 表格
export function test_user_center(data) {
  return request({
    url: '/user_center',
    method: 'post',
    data,
  })
}

// state 状态接口
export function state(data) {
  return request({
    url: '/state',
    method: 'post',
    data,
  })
}